import request from '@/utils/request'

// 新增面任务
export function addSurfaceTask(data) {
  return request({
    url: '/surfaceTask/surfaceInfo',
    method: 'post',
    data: data
  })
}

//根据ID删除面任务
export function deleteSurfaceTaskById(id) {
  return request({
    url: '/surfaceTask/surfaceInfo/' + id,
    method: 'delete'
  })
}

// 查询面任务列表
export function getSurfaceTaskList() {
  return request({
    url: '/surfaceTask/surfaceInfo/list',
    method: 'get',
  })
}
